16
|
How do I refresh the control
public void init()
{
;
super();
exmenu1.Items().Add("Item 1");
exmenu1.Refresh();
}
|
15
|
How do I change the color to highligth the selected item
public void init()
{
str var_s;
;
super();
exmenu1.HighLightBorderColor(WinApi::RGB2int(255,0,0));
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
14
|
How do I change the drop down, popup menu foreground color
public void init()
{
str var_s;
;
super();
exmenu1.PopupForeColor(WinApi::RGB2int(255,0,0));
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
13
|
How do I change the drop down, popup menu background color
public void init()
{
str var_s;
;
super();
exmenu1.PopupBackColor(WinApi::RGB2int(255,0,0));
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
12
|
How do I change the control's shadow color
public void init()
{
str var_s;
;
super();
exmenu1.ShadowColor(WinApi::RGB2int(255,0,0));
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
11
|
How do I place the control on vertical
public void init()
{
str var_s;
;
super();
exmenu1.OpenMode(1/*Horizontal*/);
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
10
|
How do I change the control's appearance
public void init()
{
str var_s;
;
super();
exmenu1.Appearance(2/*Button*/);
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
9
|
How do I change the control's appearance
public void init()
{
str var_s;
;
super();
exmenu1.Appearance(0/*Normal*/);
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
8
|
How do I change the visual appearance effect for the selected item, using EBN
public void init()
{
str var_s;
;
super();
exmenu1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exmenu1.SelBackColor(0x1000000);
exmenu1.SelForeColor(WinApi::RGB2int(0,0,0));
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
7
|
How do I change the colors for the selected item
public void init()
{
str var_s;
;
super();
exmenu1.SelBackColor(WinApi::RGB2int(0,0,0));
exmenu1.SelForeColor(WinApi::RGB2int(255,255,255));
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
6
|
How do I change the control's foreground color
public void init()
{
str var_s;
;
super();
exmenu1.ForeColor(WinApi::RGB2int(255,0,0));
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
5
|
How do I change the control's background color
public void init()
{
;
super();
exmenu1.BackColor(WinApi::RGB2int(200,200,200));
}
|
4
|
How can I change the control's font
public void init()
{
str var_s;
;
super();
exmenu1.Font().Name("Tahoma");
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
3
|
How do I change the drop down menu's border
public void init()
{
str var_s;
;
super();
exmenu1.Border(1/*FlatBorder*/);
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
2
|
How do I change the control's border, using your EBN files
public void init()
{
str var_s;
;
super();
exmenu1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exmenu1.MenuBarBorder(16777216);
exmenu1.Border(16777216);
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|
1
|
How do I change the control's border
public void init()
{
str var_s;
;
super();
exmenu1.MenuBarBorder(1/*FlatBorder*/);
var_s = "Item 1[id=10](SubItem 1[id=20](SubItem 1.1[id=30],SubItem 1.2[id=40]),SubItem 2[id=50]),Item 2[id=60](SubItem 1[id=70],SubItem 2";
var_s = var_s + "[id=80])";
exmenu1.Items().ToString(var_s);
}
|